﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using WSIMServices.model;

namespace WSIMServices
{
    // NOTE: If you change the interface name "IWSIMMessagingOperations" here, you must also update the reference to "IWSIMMessagingOperations" in Web.config.
    [ServiceContract(Namespace="http://www.ocdstudio.net/WSIM")]
    public interface IWSIMMessagingOperations
    {

        [OperationContract]
        List<Message> GetNewMessages();

        [OperationContract]
        List<Message> GetMessagesWithOptions(Options opt);

        [OperationContract]
        void SendMessage(Message msg);
    
    }
}
